<?php
class Session {
	
	var $SID;
	
	
	
	// name of the item eg Banner, Banner Stand etc
	function Session(){
		session_start();
		$this->SID = session_id();
	}
	
	function saveSession($key, $value){
		$result = $_SESSION[$key] = $value;
		return $result;
	}
	
	function saveObject($object){
		$serialObject = serialize($object);
		return $serialObject;
	}
	
	function getSessionObject($object){
		return $_SESSION[$object];
	}
	
	function unserializeObject($object){
		return unserialize($object);
	}
	
	

	
	
}

?>